/*
 * @Author: your name
 * @Date: 2021-12-23 08:52:08
 * @LastEditTime: 2021-12-25 08:48:52
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \shop\src\routers\user\base.js
 */
export default [
    // 我的，会员中心
    {
        path: 'base/index',
        name: 'BaseIndex',
        // 按需引入组件
        component: () => import('@/components/user/base/index.vue'),
        meta:{
            auth: true
        }
    },
    // 登陆
    {
        path: 'base/login',
        name: 'BaseLogin',
        component: () => import('@/components/user/base/login.vue')
    },
    // 注册
    {
        path: 'base/register',
        name: 'BaseRegister',
        component: () => import('@/components/user/base/register.vue')
    },
    // 个人资料
    {
        path: 'base/profile',
        name: 'BaseProfile',
        component: () => import('@/components/user/base/profile.vue'),
        meta: {
            auth: true
        }
    },
    // 收货地址
    {
        path: 'base/profile',
        name: 'BaseProfile',
        component: () => import('@/components/user/base/profile.vue'),
        meta: {
            auth: true
        }
    },
     // 充值中心
    {
        path: 'base/deposit',
        name: 'BaseDeposit',
        component: () => import('@/components/user/base/deposit.vue'),
        meta: {
            auth: true
        }
    },
     // 充值记录
    {
        path: 'base/rechargerecord',
        name: 'BaseRechargerecord',
        component: () => import('@/components/user/base/rechargerecord.vue'),
        meta: {
            auth: true
        }
    },
     // 消费记录
    {
        path: 'base/record',
        name: 'BaseRecord',
        component: () => import('@/components/user/base/record.vue'),
        meta: {
            auth: true
        }
    },
    {
        path: 'base/verification',
        name: 'BaseVerification',
        component: () => import('@/components/user/base/verification.vue'),
        meta: {
            auth: true
        }
    }
]